cmake_minimum_required(VERSION 3.14)
project(AddCustomOp)

set(CANN_ROOT $ENV{ASCEND_HOME_PATH}/ascend-toolkit/latest)
include_directories(${CANN_ROOT}/include)

add_library(add_custom SHARED add_custom.cpp)
target_link_directories(add_custom PRIVATE ${CANN_ROOT}/lib64)
target_link_libraries(add_custom op_api)